Developer Documentation
PATH  Mac OS X Documentation > Developer Tools > The Objective-C Compiler


Contents | Next | Book PDF


Table of Contents

The Objective-C Compiler

Which Language?

GNU CC Command Options

       Options Controlling the Kind of Output

       Compiling C++ Programs

       Options Controlling C Dialect

       Options Controlling C++ Dialect

       Options to Request or Suppress Warnings

       Options for Debugging Your Program or GNU CC

       Options That Control Optimization

       Options Controlling the Preprocessor

       Passing Options to the Assembler

       Options for Linking

       Options for Directory Search

       Hardware Models and Configurations

       Options for Code Generation Conventions

       Environment Variables Affecting GNU CC

C Programming Notes

       String Constants and Static Strings

       Function Prototyping

       Automatic Register Allocation

       Declarations of External Variables and Functions

       typedef and Type Modifiers

       Identifying the Compiler Version

       Writing Architecture-Independent Code

Objective-C Programming Notes

       Accessing Instance Variables in Class Methods

       Syntax Checking

       Sending Objective-C Messages to Converted C++ Objects

Extensions to the C Language Family

       Statements and Declarations in Expressions

       Locally Declared Labels

       Labels as Values

       Nested Functions

       Constructing Function Calls

       Naming an Expression's Type

       Referring to a Type with "typeof"

       Generalized Lvalues

       Conditionals with Omitted Operands

       Double-Word Integers

       Complex Numbers

       Arrays of Length Zero

       Arrays of Variable Length

       Macros with Variable Numbers of Arguments

       Non-Lvalue Arrays May Have Subscripts

       Arithmetic on "void"- and Function-Pointers

       Non-Constant Initializers

       Constructor Expressions

       Labeled Elements in Initializers

       Case Ranges

       Cast to a Union Type

       Declaring Attributes of Functions

       Prototypes and Old-Style Function Definitions

       C++ Style Comments

       Dollar Signs in Identifier Names

       The Character ESC in Constants

       Inquiring on Alignment of Types or Variables

       Specifying Attributes of Variables

       Specifying Attributes of Types

       An Inline Function is As Fast As a Macro

       Assembler Instructions with C Expression Operands

       Controlling Names Used in Assembler Code

       Variables in Specified Registers

       Alternate Keywords

       Incomplete enum Types

       Function Names as Strings

C++ Programming Notes

       Multiple Virtual Inheritance

       Pointers to Member Functions

       Implicit Cast From void* to C++ Object Pointer

Extensions to the C++ Language

       Named Return Values in C++

       Minimum and Maximum Operators in C++

       "goto" and Destructors in GNU C++

       Declarations and Definitions in One Header

       Type Abstraction using Signatures

Known Causes of Trouble with GNU CC

       Problems in the Compiler

       Interoperation

       Incompatibilities of GNU CC

       Disappointments and Misunderstandings

       Common Misunderstandings with GNU C++

       Warning Messages and Error Messages

Legal Considerations

       GNU GENERAL PUBLIC LICENSE

       How to Apply These Terms to Your New Programs

Index


The Objective-C Compiler

Contents | Next | Book PDF